package com.bootdo.testDemo;

/**
 * 饿汉模式
 * @author Administrator
 *
 */
public class SingletonHungry {
	
	private static SingletonHungry singleton = new SingletonHungry();

	private SingletonHungry() {	}
	
	public static SingletonHungry getSingleton(){
		return singleton;
	}


	
	
	

}
